
<div class="right_title" style="border-bottom:none">
    <div class="font12 b" style="line-height:24px;">&nbsp;&nbsp;<?php echo $title;?></div>
</div> 
<div class="border">
    <form action="<?php echo $this->createUrl('base/index');?>" method="POST">
    <div class="searchTitle">查询条件</div>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td>&nbsp;&nbsp;&nbsp;名称:<input type="text" name="name" id="name" value="<?php echo $name;?>" /></td>

            <td align="right">
                <input type="submit" name="searchBtn" class="input" value="查询"/>
                <input type="button" name="addContent" class="input" onclick="location.href='<?php echo $this->createUrl("base/AddArea");?>';return false;" id="addContent" value="新增" />
                <in
                &nbsp;&nbsp;&nbsp;
            </td>
        </tr> 
    </table>
    </form>
    <!--<div class="tabHead">
    信息管理
    </div>-->
    <?php
    $this->widget('zii.widgets.grid.CGridView', array(
            'dataProvider' => $dataProvider,
           // 'filter' => $model,
            'columns' => array(
                array(
                    'name' => '名称',
                    'value' => '$data->Name',
                ),
                array(
                    'name' => '显示名称',
                    'value' => '$data->DisplayName',
                ),
                array(
                    'name' => '概要',
                    'value' => '$data->Summary',
                ),
                array(
                    'name' => '编辑',
                    'value' => 'CHtml::link("编辑", Yii::app()
 ->createUrl("base/editArea",array("id"=>$data->primaryKey)))',
                    'type'  => 'raw',
                ),
                array(
                    'name' => '删除',
                    'value' => 'CHtml::link("删除", Yii::app()
 ->createUrl("base/deleteArea",array("id"=>$data->primaryKey)), array("confirm" => "确定删除吗?"))',
                    'type'  => 'raw',
                ),
            ),
        ));
    ?>
    
</div>